<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Admin_classify extends Model
{
    protected $table = 'admin_classify';
    protected $dateFormat = 'U';

    public function admin_module()
    {
        return $this->hasMany('App\Admin_module');
    }

    public function module()
    {
        return $this->belongsTo('App\Admin_module','group_id');
    }
}
